<?php

class OrderdetailViewModel extends ViewModel{
	
	public $viewFields = array(
			'Order'=>array(
				'*',
				'_type'=>"left",
				"_as"=>'o'
			),
			'Order_detail'=>array(
				'pid',
				'ask',
				'title',
				'attr',
				'price',
				'amount',
				'_on'=>'d.orderno=o.orderno',
				'_as'=>'d',
			),
	);
}
?>